<script>
	export default {
		onLaunch: function() {
			uni.hideTabBar({})
			let res = uni.getSystemInfoSync()
				if (res.language == 'zh-CN') {
					this._i18n.locale = 'zh-CN'
					console.log("中文",this._i18n.locale)
				}
				if (res.language == 'en-US') {
					this._i18n.locale = 'en-US'
					console.log("英文",this._i18n.locale)
				}
		},
		onShow: function() {
			 uni.hideTabBar()
		},
		onLoad() {
		  uni.hideTabBar()
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/* @import "colorui/main.css";
	@import "colorui/icon.css"; */
	@import "@/static/iconfont/iconfont.css";
	/*每个页面公共css */
view{
	box-sizing: border-box;
}
</style>
